package com.wolf.service.impl;

import com.wolf.pojo.Wl_commodity_brand;
import com.wolf.repository.Wl_commodity_brandMapper;
import com.wolf.service.Wl_commodity_brandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class Wl_commodity_brandServiceImpl implements Wl_commodity_brandService {
    @Autowired
    Wl_commodity_brandMapper wl_commodity_brandMapper;

    @Override
    public int insert(Wl_commodity_brand record) {
        return wl_commodity_brandMapper.insert(record);
    }

    @Override
    public int insertSelective(Wl_commodity_brand record) {
        return wl_commodity_brandMapper.insertSelective(record);
    }

    @Override
    public Wl_commodity_brand selectByPrimaryKey(String id) {
        return wl_commodity_brandMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Wl_commodity_brand record) {
        return wl_commodity_brandMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Wl_commodity_brand record) {
        return wl_commodity_brandMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<Wl_commodity_brand> getAll() {
        return wl_commodity_brandMapper.getAll();
    }

    @Override
    public List<Wl_commodity_brand> fuzzyQuery(String chnBrand, String endBrand, String beginCreateTime, String endCreateTime, String status) {
        return wl_commodity_brandMapper.fuzzyQuery(chnBrand, endBrand, beginCreateTime, endCreateTime, status);
    }

    @Override
    public List<Wl_commodity_brand> getBrandTagById(String id) {
        return wl_commodity_brandMapper.getBrandTagById(id);
    }
}
